Carbon


MenuBarDefProcPtr

Header: Menus.h Carbon status: Unsupported

typedef SInt32(* MenuBarDefProcPtr) (
    SInt16 selector, 
    SInt16 message, 
    SInt16 parameter1, 
    SInt32 parameter2
);

You would declare your function like this if you were to name it MyMenuBarDefCallback:

SInt32 MyMenuBarDefCallback (
    SInt16 selector, 
    SInt16 message, 
    SInt16 parameter1, 
    SInt32 parameter2
);
selector
message
parameter1
parameter2

AVAILABILITY

Not supported in Carbon.

CARBON NOTES

The menu bar is not customizable in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)